/**
 * @(#)Test.java, Sep 19, 2012. 
 * 
 * Copyright 2012 Yodao, Inc. All rights reserved.
 * YODAO PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.buaaer.mina.demo;

import com.buaaer.mina.ClientProxy;

/**
 *
 * @author wangheng
 *
 */
public class TestClient {
    
    public static void main(String[] args) {
        
        ClientProxy proxy = new ClientProxy("localhost", 12345);
        DemoInterface demoInterface = proxy.getProxy(DemoInterface.class);
        System.out.println(demoInterface.operation1("s1", "s2"));
    }

}
